package main

//go get github.com/yuin/gopher-lua
import (
	"fmt"
	"github.com/wonderivan/logger"
	"runtime"
)

func main() {
	fmt.Println("OS is " + runtime.GOOS)
	switch runtime.GOOS {
	case "windows":
		logger.Info("mainwin")
		mainwin()
		break
	case "linux":
		mainwin()
		break
	case "darwin":
		mainwin()
		break
	default:
		logger.Error("未知的操作系统")
		break
	}
}
